#ifndef STUDENT_H_15122011
#define STUDENT_H_15122011

#include <string>

#include "exception.hpp"

class Student
{
public:
	/**	Constructor
	 *
	 *	@param sLine - input string line (from file.txt)
	 *	@throw TODO
	 */
	Student( const TiXmlElement* pStudentElement ) throw( utils::Exception );

public:
	std::string GetName() const throw();
	std::string GetSurname() const throw();
	std::string GetFamilyName() const throw();
	std::string GetEGN() const throw();
	std::string GetDiscipline() const throw();
	unsigned int GetFN() const throw();
	unsigned int GetYear() const throw();
	double GetAverageMark() const throw();

private:
	std::string m_sName;
	std::string m_sSurname;
	std::string m_sFamilyName;
	std::string m_sEGN;
	unsigned int m_nFN;
	unsigned int m_nYear;
	double m_dAverageMark;
	std::string m_sDisciplines;
};

#endif
